<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
	<title></title>
	<style type="text/css">
	/* ZenDoc identity */
	.zendoc { font-family: Arial, Helvetica, sans-serif; margin:3px; }
	.zendoc a:hover { text-decoration:none; }
	.zendoc span.title-comment { font-family: Verdana, Arial, Helvetica, sans-serif; font-size:80%; color:#AAA; }
	.zendoc span.title-zen { color:#26A; font-weight:normal; }
	.zendoc span.title-doc { color:black; font-weight:bold; }
	/* overall */
	html, body, div { margin:0; padding:0; border:none; }
	body { font-family:Arial, Helvetica, sans-serif; font-size:90%; }
	a { text-decoration:none; }
	a:hover { text-decoration:underline; }
	h2 { color:#999; margin:2em 0 0 0; padding:0 2px 0 20px; border-bottom:2px solid #58B; }
	h3 { color:#B36B00; margin-top:3em; }
	dl { margin:.5em 0 3px 0; }
	dt { font-weight:bold; }
	td { vertical-align:top; }
	th { text-align:left; color:#58B; background-color:#E3ECF4; }
	code { font-size:1.1em; }
	/* specific */
	#header { background-color:#EAEAEA; padding:1px; }
	#links { color:#999; background-color:#FFE; border-bottom:1px solid #58B; padding:2px 20px; }
	#links a { color:#999; }
	.content { padding:10px 20px; }
	#class-definition { background-color:#58B; color:white; }
	#class-definition .classkind { font-weight:bold; }
	#class-definition .classkind .package { font-weight:normal; }
	#class-definition .classname { font-size:4em; margin:5px 0; }
	#class-definition .superclassname { padding-left:20px; font-style:italic; }
	#class-definition .implements { padding-left:20px; font-style:italic; }
	#class-info .content { margin:20px; border:1px solid #58B; }
	pre.definition { background-color:#FFE; border:1px solid #E4E29A; padding:3px; }
	.generated {
		font-style:italic;
		font-size:80%;
		color:#666;
		margin:1em 0 0 0;
		padding:5px 20px;
		border-top:1px solid #999;
	}
	/* tables */
	.member-list { border:1px solid #58B; margin:2em 20px; }
	.member-list a { color:#B36B00; }
	.member-list table { border-collapse:collapse; }
	.member-list td { border-top:1px solid #58B; }
	.member-list td.name { width:175px; text-align:right; padding-right:5px; }
	.member-list table { width:100%; }
	.even { background-color:#FFE; }
	.odd { background-color:white; }
	.param .name { color:#666; }
	</style>
</head>

<body>
<div id="page">
	<div id="header">
		<h4 class="zendoc"><a href="http://www.zendoc.org" title="ZenDoc Documentation Tool Home"><span class="title-comment">/**</span><span class="title-zen">Zen</span><span class="title-doc">Doc</span><span class="title-comment">--&gt;</span></a></h4>
	</div>
	<div id="class-definition" class="section">
		<div class="content">
			
			
			
		</div>
		<div id="links">
			<a href="#class-info">Class Information</a>
			
			
			 | <a href="#class-methods">Methods</a>
			
		</div>
	</div>
	
	<div id="class-info" class="section">
		<h2>Class Information</h2>
		<div class="content">
			
			<em>No Class Information Available</em>
			</div>
			
			
			
			
			
			
			<div class="member-list">
			<table><tr><th colspan="2">Methods</th></tr>
				<tr class="even">
					<td class="name"><a href="#removeAllChild">removeAllChild()</a></td>
					<td>Remove all child in a clip</td>
				</tr><tr class="odd">
					<td class="name"><a href="#removeObjectContainer">removeObjectContainer()</a></td>
					<td>Remove all child in a clip and the clip itself</td>
				</tr><tr class="even">
					<td class="name"><a href="#initRollOver">initRollOver()</a></td>
					<td>Apply a default rollOver action on a MovieClip</td>
				</tr><tr class="odd">
					<td class="name"><a href="#labelExist">labelExist()</a></td>
					<td>Check if a label on the timeline exist or not</td>
				</tr><tr class="even">
					<td class="name"><a href="#setDegradeTexte">setDegradeTexte()</a></td>
					<td>To apply a degrade color on a textField.</td>
				</tr><tr class="odd">
					<td class="name"><a href="#loadElement">loadElement()</a></td>
					<td>Load a external graphic ressource in a container</td>
				</tr><tr class="even">
					<td class="name"><a href="#getObjectFromLibrary">getObjectFromLibrary()</a></td>
					<td>Return an instance of a className in the flash library</td>
				</tr><tr class="odd">
					<td class="name"><a href="#changeProperty">changeProperty()</a></td>
					<td>change les valeurs des propriétés des MovieClips passés en paramètres</td>
				</tr><tr class="even">
					<td class="name"><a href="#filterObjectsArray">filterObjectsArray()</a></td>
					<td>dans un tableau d'objet, retourne une propriété à partir de la valeur d'une autre propriété</td>
				</tr><tr class="odd">
					<td class="name"><a href="#findThisPropWithThatProp">findThisPropWithThatProp()</a></td>
					<td>dans un tableau d'objet, retourne une propriété à partir de la valeur d'une autre propriété</td>
				</tr><tr class="even">
					<td class="name"><a href="#roundAfterComma">roundAfterComma()</a></td>
					<td>Round a Number with specific numbers of digits after comma</td>
				</tr><tr class="odd">
					<td class="name"><a href="#desactivateTabIndex">desactivateTabIndex()</a></td>
					<td>Disable all tabIndex in a clip (on their childs too).</td>
				</tr><tr class="even">
					<td class="name"><a href="#setColor">setColor()</a></td>
					<td>To color a displayObject</td>
				</tr>
			</table></div>
			
			
	</div>
		
	
	
	<br />
	<div id="class-methods" class="member-group section">
		<h2>Methods</h2>
		<div class="content">
			<div class="member-item">
				<h3 id="removeAllChild">removeAllChild()</h3>
				<pre class="definition"><code>public static function removeAllChild(clip:Object):void</code></pre>
				<div>Remove all child in a clip</div>
				<dl>
					<dt>Parameters:</dt>
					<dd><table class="param">
						<tr><td class="name"><code>clip</code></td><td>a displayObjectContainer</td></tr>
					</table></dd>
				</dl>
				
				
			
			
			
			
			</div><div class="member-item">
				<h3 id="removeObjectContainer">removeObjectContainer()</h3>
				<pre class="definition"><code>public static function removeObjectContainer(clip:Object):void</code></pre>
				<div>Remove all child in a clip and the clip itself</div>
				<dl>
					<dt>Parameters:</dt>
					<dd><table class="param">
						<tr><td class="name"><code>clip</code></td><td>a displayObjectContainer</td></tr>
					</table></dd>
				</dl>
				
				
			
			
			
			
			</div><div class="member-item">
				<h3 id="initRollOver">initRollOver()</h3>
				<pre class="definition"><code>public static function initRollOver(clip:Object):void</code></pre>
				<div>Apply a default rollOver action on a MovieClip</div>
				<dl>
					<dt>Parameters:</dt>
					<dd><table class="param">
						<tr><td class="name"><code>clip</code></td><td>The movieClip to apply a default rollOver. The clip must contains the label "over" and "out" on the timeline.</td></tr>
					</table></dd>
				</dl>
				
				
			
			
			
			
			</div><div class="member-item">
				<h3 id="labelExist">labelExist()</h3>
				<pre class="definition"><code>public static function labelExist(labelNameToTest:String, clip:MovieClip):Boolean</code></pre>
				<div>Check if a label on the timeline exist or not</div>
				<dl>
					<dt>Parameters:</dt>
					<dd><table class="param">
						<tr><td class="name"><code>labelNameToTest</code></td><td>Th elabel to check</td></tr>
					<tr><td class="name"><code>clip</code></td><td>The clip to check</td></tr>
					</table></dd>
				</dl>
				<dl>
					<dt>Returns:</dt>
					<dd>true or false</dd>
				</dl>
				
			
			
			
			
			</div><div class="member-item">
				<h3 id="setDegradeTexte">setDegradeTexte()</h3>
				<pre class="definition"><code>public static function setDegradeTexte(clipDegrade:MovieClip, tTexte:TextField):void</code></pre>
				<div>To apply a degrade color on a textField.</div>
				<dl>
					<dt>Parameters:</dt>
					<dd><table class="param">
						<tr><td class="name"><code>clipDegrade</code></td><td>A clip contains a shape degrade colors.</td></tr>
					<tr><td class="name"><code>tTexte</code></td><td>The textFiel to apply degrade</td></tr>
					</table></dd>
				</dl>
				
				
			
			
			
			
			</div><div class="member-item">
				<h3 id="loadElement">loadElement()</h3>
				<pre class="definition"><code>public static function loadElement(url:String, container:DisplayObjectContainer, onComplete:Function = null, params:Array = null, onError:Function = null ):void</code></pre>
				<div>Load a external graphic ressource in a container</div>
				<dl>
					<dt>Parameters:</dt>
					<dd><table class="param">
						<tr><td class="name"><code>url</code></td><td>The url of the element to load (image, swf)</td></tr>
					<tr><td class="name"><code>container</code></td><td>The container will contains the element</td></tr>
					<tr><td class="name"><code>onComplete</code></td><td>A function to call when the loading is complete</td></tr>
					<tr><td class="name"><code>params</code></td><td>A array of parameters for the complete function</td></tr>
					<tr><td class="name"><code>onError</code></td><td>A function to call when a loading error occurred.</td></tr>
					</table></dd>
				</dl>
				
				
			
			
			
			
			</div><div class="member-item">
				<h3 id="getObjectFromLibrary">getObjectFromLibrary()</h3>
				<pre class="definition"><code>public static function getObjectFromLibrary(id:String):Object</code></pre>
				<div>Return an instance of a className in the flash library</div>
				<dl>
					<dt>Parameters:</dt>
					<dd><table class="param">
						<tr><td class="name"><code>id</code></td><td>The className of the object in the flash Library</td></tr>
					</table></dd>
				</dl>
				<dl>
					<dt>Returns:</dt>
					<dd>The instance of the className</dd>
				</dl>
				
			
			
			
			
			</div><div class="member-item">
				<h3 id="changeProperty">changeProperty()</h3>
				<pre class="definition"><code>public static function changeProperty(aMovieClips:Array, aProperties:Array, aValues:Array):void</code></pre>
				<div>change les valeurs des propriétés des MovieClips passés en paramètres</div>
				<dl>
					<dt>Parameters:</dt>
					<dd><table class="param">
						<tr><td class="name"><code>aMovieClips</code></td><td>description</td></tr>
					<tr><td class="name"><code>aProperties</code></td><td>description</td></tr>
					<tr><td class="name"><code>aValues</code></td><td>description</td></tr>
					</table></dd>
				</dl>
				<dl>
					<dt>Returns:</dt>
					<dd>return</dd>
				</dl>
				
			<dl>
					<dt>Example:</dt>
					<dd>Le code suivant change les valeurs des propriétés des MovieClips passés en paramètres
changeProperty([mcCar1, mcCar2], ["alpha", "visible"], [false, 0]);</dd>
				</dl>
			
			
			
			</div><div class="member-item">
				<h3 id="filterObjectsArray">filterObjectsArray()</h3>
				<pre class="definition"><code>public static function filterObjectsArray(a:Array, sProp:String, oValue:Object):Array</code></pre>
				<div>dans un tableau d'objet, retourne une propriété à partir de la valeur d'une autre propriété</div>
				<dl>
					<dt>Parameters:</dt>
					<dd><table class="param">
						<tr><td class="name"><code>a</code></td><td>description</td></tr>
					<tr><td class="name"><code>sProp</code></td><td>description</td></tr>
					<tr><td class="name"><code>oValue</code></td><td>description</td></tr>
					</table></dd>
				</dl>
				<dl>
					<dt>Returns:</dt>
					<dd>un tableau à partir du filtre d'un tableau avec la valeur d'une propriété</dd>
				</dl>
				
			<dl>
					<dt>Example:</dt>
					<dd>Le code suivant retourne un tableau de voitures dont la vitesse maximale est 190
var aCars190	:Array = filterObjectsArray(aCars, "speedMax", 190);</dd>
				</dl>
			
			
			
			</div><div class="member-item">
				<h3 id="findThisPropWithThatProp">findThisPropWithThatProp()</h3>
				<pre class="definition"><code>public static function findThisPropWithThatProp(a:Array, sProp1:String, sProp2:String, oValue:Object):Object</code></pre>
				<div>dans un tableau d'objet, retourne une propriété à partir de la valeur d'une autre propriété</div>
				<dl>
					<dt>Parameters:</dt>
					<dd><table class="param">
						<tr><td class="name"><code>a</code></td><td>description</td></tr>
					<tr><td class="name"><code>sProp1</code></td><td>description</td></tr>
					<tr><td class="name"><code>sProp2</code></td><td>description</td></tr>
					<tr><td class="name"><code>oValue</code></td><td>description</td></tr>
					</table></dd>
				</dl>
				<dl>
					<dt>Returns:</dt>
					<dd>une propriété à partir de la valeur d'une autre propriété</dd>
				</dl>
				
			<dl>
					<dt>Example:</dt>
					<dd>Le code suivant retourne la vitesse maximale d'une voiture à partir de son modèle
var nSpeedMax	:int = findThisPropWithThatProp(aCars, "speedMax", "modèle", "opel_vectra");</dd>
				</dl>
			
			
			
			</div><div class="member-item">
				<h3 id="roundAfterComma">roundAfterComma()</h3>
				<pre class="definition"><code>public static function roundAfterComma(nNumber:Number, nDec:Number):String</code></pre>
				<div>Round a Number with specific numbers of digits after comma</div>
				<dl>
					<dt>Parameters:</dt>
					<dd><table class="param">
						<tr><td class="name"><code>nNumber</code></td><td>The number to round</td></tr>
					<tr><td class="name"><code>nDec</code></td><td>The numbers of digits after comma</td></tr>
					</table></dd>
				</dl>
				<dl>
					<dt>Returns:</dt>
					<dd>A string with the Number rounded with specific numbers of digits after comma</dd>
				</dl>
				
			<dl>
					<dt>Example:</dt>
					<dd>var nRating		:Number = 13.438716781;
var nRatingNew	:Number = roundAfterComma(nRating, 3);</dd>
				</dl>
			
			
			
			</div><div class="member-item">
				<h3 id="desactivateTabIndex">desactivateTabIndex()</h3>
				<pre class="definition"><code>public static function desactivateTabIndex(clip:Object):void</code></pre>
				<div>Disable all tabIndex in a clip (on their childs too).</div>
				<dl>
					<dt>Parameters:</dt>
					<dd><table class="param">
						<tr><td class="name"><code>clip</code></td><td>The clip to disable the tabIndex.</td></tr>
					</table></dd>
				</dl>
				
				
			
			
			
			
			</div><div class="member-item">
				<h3 id="setColor">setColor()</h3>
				<pre class="definition"><code>public static function setColor(displayObject:DisplayObject, color:Number):void</code></pre>
				<div>To color a displayObject</div>
				<dl>
					<dt>Parameters:</dt>
					<dd><table class="param">
						<tr><td class="name"><code>displayObject</code></td><td>The displayObject to color</td></tr>
					<tr><td class="name"><code>color</code></td><td>the hexadecimal color number</td></tr>
					</table></dd>
				</dl>
				
				
			
			
			
			
			</div>
		</div>
	</div>
	
	<p class="generated">Page generated: 7:38 pm on June 7, 2010</p>
</div>
</body>
</html>